<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/jsp/include/head.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>数据采集</title>
</head>
<body>
	<!-- container -->
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="row">
					<br> <br> <br> <br>
					<div class="col-md-12">
						<h1 class="text-center">欢迎使用HR系统</h1>
						<ol class="breadcrumb">
							<li><a href="">首页</a></li>
							<li><a href="manage/recruit">招聘流程</a></li>
							<li class="active"><a href="manage/recruit/overview">所有求职者</a></li>
						</ol>
						<hr>
						<br>
					</div>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="bs-example">
				<div class="row">
					<table class="table table-hover table-bordered">
						<thead>
							<tr>
								<th>姓名</th>
								<th>电话</th>
								<th>邮箱</th>
								<th>注册时间</th>
								<th>身份证</th>
								<th>期望工资</th>
								<th>工作城市</th>
								<th>生日</th>
								<th>申请职务</th>
								<th>当前状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${candidates}" var="c">
								<tr>
									<td>${c.name}</td>
									<td>${c.phone}</td>
									<td>${c.email}</td>
									<td>${c.registerTime}</td>
									<td>${c.IDCardNumber}</td>
									<td>${c.money}</td>
									<td>${c.city}</td>
									<td>${c.birthday}</td>
									<td>${c.job}</td>
									<td><c:choose>
											<c:when test="${c.state == 0}">
												<span class="text-primary">未初步审核</span>
											</c:when>
											<c:when test="${c.state == 1}">
												<span class="text-primary">已初步审核<br>未联系</span>
											</c:when>
											<c:when test="${c.state == 2}">
												<span class="text-primary">已联系<br>未笔试</span>
											</c:when>
											<c:when test="${c.state == 3}">
												<span class="text-primary">已笔试<br>未面试</span>
											</c:when>
											<c:when test="${c.state == 4}">
												<span class="text-primary">面试进行中<br></span>
											</c:when>
											<c:when test="${c.state == 5}">
												<span class="text-danger">审核终止</span>
											</c:when>
											<c:when test="${c.state == 6}">
												<span class="text-success">审核通过</span>
											</c:when>
										</c:choose></td>
									<td><a href="manage/recruit/step/${c.candidateId}"
										class="btn btn-primary">操作</a></td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>

				<br> <br>
			</div>
		</div>
	</div>
	<!-- /container -->

</body>
</html>